/* 全局样式 */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

/* 动态背景 */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6e8efb, #4a6cf7, #ff7e5f, #feb47b); /* 多种颜色渐变 */
    z-index: -1;
    animation: moveBackground 10s infinite alternate;
}

/* 背景动画 */
@keyframes moveBackground {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

/* 容器样式 */
.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    text-align: center;
}

/* 表单样式 */
.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 输入框样式 */
input, select, textarea {
    width: 250px;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 15px;
    margin-bottom: 10px;
}

input::placeholder, textarea::placeholder {
    color: #fff;
    font-size: 14px;
    font-weight: 300;
}

/* 性别选择框文字颜色 */
select {
    color: #fff;
}

select option {
    color: #000; /* 下拉选项文字颜色 */
}

/* 按钮样式 */
.btn-login {
    outline: none;
    background-color: #4a6cf7;
    color: white;
    border: none;
    width: 200px;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: #6e8efb;
}

/* 错误信息样式 */
.error-message {
    color: red;
    margin-bottom: 15px;
}